package com.gph.saviorframework.fastdfs.monitor.service.impl;

import com.gph.saviorframework.fastdfs.monitor.model.DownloadFileRecord;
import com.gph.saviorframework.fastdfs.monitor.model.FdfsFile;
import com.gph.saviorframework.fastdfs.monitor.service.FileDataService;

import java.util.List;

/**
 * Created by root on 16-6-30.
 */
public class FileDataServiceImpl implements FileDataService {
    /**
     * getFileListByGroupName
     *
     * @param groupName
     * @return
     */
    public List<FdfsFile> getFileListByGroupName(String groupName) {
        return null;
    }

    /**
     * 根据ip和fileId去数据库中查找是否存在DownloadFileRecord对象
     *
     * @param ip
     * @param fileId
     * @return
     */
    public DownloadFileRecord getDownloadFileRecordByIpAndFileId(String ip, String fileId) {
        return null;
    }

    public void saveDownloadFileRecord(DownloadFileRecord downloadFileRecord) {

    }
}
